﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.IO;
using System.Drawing;

namespace IEWebSite.Administration
{
    public partial class EditConferinta : BaseEditControl
    {
        //[Titlu],[Descriere],[TitluEN],[DescriereEN],[Logo],[WebSite]
        protected override void SetBindings()
        {
            //LC Test If Event Occurs During DataBound Event
            if (DataItem != null && DataItem.GetType() == typeof(System.Data.DataRowView))
            {
                txtTitlu.Text = (String)((DataRowView)DataItem)["Titlu"];
                Descriere.Content = (String)((DataRowView)DataItem)["Descriere"];
                txtTitluEN.Text = (String)((DataRowView)DataItem)["TitluEN"];
                DescriereEN.Content = (String)((DataRowView)DataItem)["DescriereEN"];     
                txtWebsite.Text = (String)((DataRowView)DataItem)["WebSite"];  
            }
        }
    }
}